package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dto.AdUserDto;
import com.heima.model.admin.pojo.AdUser;
import com.heima.model.common.dto.ResponseResult;

/**
 * @author Ronaldo
 * @date 2021/7/30
 */
public interface AdUserService extends IService<AdUser> {
    /**
     * 用户登录
     * @param adUserDto  登录参数
     * @return ResponseResult
     */
    ResponseResult login(AdUserDto adUserDto);

    /**
     * 用户注册
     * @param adUser 注册参数
     * @return ResponseResult
     */
    ResponseResult register(AdUser adUser);
}
